* {
  margin: 0;
  padding: 0;
  font-family: "Cascadia Code Regular", "Microsoft YaHei UI Bold";
  user-select: none;
}

@font-face {
  font-family: "pf";
  src: url('./public/pfj.ttf');
}

ul {
  list-style: none;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: rgb(248, 248, 248);
}

#header {
  box-shadow: inset 2px 2px 3px #efefef, inset -2px -2px 3px #efefef;
  color: #4f4f4f;
  height: 30px;
  background-color: hsl(0, 0%, 93%);
  -webkit-app-region: drag;
  display: flex;
  align-items: center;

  .contorls {
    height: 100%;
    display: flex;
    width: 90px;
    align-items: center;

    div {

      margin-left: 10px;
      height: 13px;
      width: 13px;
      border-radius: 50%;
      -webkit-app-region: no-drag;
      transition: 0.5s all ease-out;
    }

    .close {
      background-color: hsl(3, 100%, 67%);
      border: 1px solid hsl(3, 100%, 52%);
    }

    .close:hover {
      background-color: hsl(3, 100%, 47%);
    }

    .max {
      background-color: hsl(43, 99%, 59%);
      border: 1px solid hsl(43, 99%, 44%);
    }

    .max:hover {
      background-color: hsl(43, 99%, 39%);
    }

    .mini {
      background-color: hsl(129, 68%, 47%);
      border: 1px solid hsl(129, 68%, 32%);
    }

    .mini:hover {
      background-color: hsl(129, 68%, 27%);
    }
  }

  .title {
    flex-grow: 1;
    text-align: center;
    padding-right: 90px;
  }
}

#main {
  display: flex;
  flex-grow: 1;
  height: 0;

  #aside {
    min-width: 240px;
    width: 20%;
    color: hsl(0, 0%, 38%);
    background-color: #f0f0f0;

    ul {
      height: 100%;
      display: flex;
      flex-direction: column;

      li {
        cursor: pointer;
        padding-left: 26px;
        height: 44px;
        display: flex;
        align-items: center;
        transition: .5s;

        svg {
          margin-right: 12px;
          font-size: 30px;
        }

        &:hover {
          background-color: rgb(212, 227, 236);
          box-shadow: inset 0 0 1px rgba(0, 0, 0, .3);
        }
      }

    }
  }

  #container {
    flex-grow: 1;

    .temp_ctn {
      height: 100%;
      width: 100%;
      overflow: hidden;
    }
  }
}


.wline {
  width: 100%;
  height: 1px;
  background-color: hsla(0, 0%, 58%, 0.3);
}

.hline {
  width: 1px;
  height: 100%;
  background-color: hsla(0, 0%, 58%, 0.3);
}

.index {
  color: #0e0e0e;
  background-color: rgb(212, 227, 236);
  box-shadow: inset 0 0 1px rgba(0, 0, 0, .3);
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.win_item_index {
  background-color: aquamarine;
}
#win_container{
  height: 100%;
  display: flex;
  #win_attr{
    flex-grow: 1;
    #attr_base{
      font-size: 14px;
      input{
        font-size:12px;
        width: 300px;
        outline: none;
      }
    }
  }
  #win_list_container {
    margin-right: 7px;
    box-sizing: border-box;
    border: 8px solid transparent;
    width: 300px;
    overflow: hidden;
    height: 100%;
  
    #win_list {
      width: 100%;
      height: 100%;
      background-color: #efefef;
      border: 1px solid rgba(226, 226, 226, 0.445);
      overflow-y: auto;
      overflow-x: hidden;
  
      &:nth-child(1) {
        padding-top: 5px;
      }
  
      li {
        border-bottom: 1px solid #cee0ff;
        width: 100%;
        display: flex;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
  
        img {
          width: 20px;
          height: 20px;
        }
  
        p {
          cursor: default;
          user-select: text;
          margin-left: 10px;
          font-size: 12px;
          width: 240px;
          overflow: hidden;
          white-space: nowrap;
          line-height: 20px;
        }
      }
    }
  }
}
